home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2003-2004 Corel Corporation All rights reserved.',
- 'Description': u'',
- 'Host': u'Paint Shop Pro',
- 'Host Version': u'8.10'
- }
-
- def Preset_LensDistortion():
- return {
- 'DistortionType': App.Constants.DistortionType.Fisheye,
- 'Strength': 25,
- 'FieldOfView': 100,
- 'HorizontalOffset': 0,
- 'VerticalOffset': 400,
- 'EdgeMode': App.Constants.EdgeMode.Background,
- 'BackgroundColor': (0,0,0)
- }
-
- def Do(Environment):
- # Lens Distortion
- App.Do( Environment, 'LensDistortion', Preset_LensDistortion())
-
-